package method1;

public class Circle {
    private double radius ;
    double sum;

    public Circle() {
        this.radius = 1;
    }

    public double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    @Override
    public String toString() {
        return "Circle{" +
                "sum=" + sum +
                '}';
    }

    public void findArea(){
        sum = 3.14*(radius*radius);
    }
}
